package com.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Yadasu
 * @date 2021/1/25 10:45
 */
@Data
@Entity
@Table(name = "sys_deploy_history")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SysDeployHistory implements Serializable {


    private static final long serialVersionUID = 8501002779812101161L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "history_id")
    @ApiModelProperty(value = "历史记录id")
    private Integer Id;
    @Column(name = "app_name")
    @ApiModelProperty(value = "应用名称")
    private String appName;
    @Column(name = "deploy_date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "部署日期")
    private Date deployDate;
    @Column(name = "deploy_user")
    @ApiModelProperty(value = "部署用户")
    private String deployUser;




}
